﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using VntNet.PowerSchemeSwitcher.Properties;

namespace VntNet.PowerSchemeSwitcher
{
    public partial class SettingsForm : Form
    {
        public SettingsForm()
        {
            InitializeComponent();
            settingsTabControl.Visible = false;
        }
        private void ShowAbout()
        {
            AboutDialog dlg = new AboutDialog();
            dlg.ShowDialog();
        }
        private void aboutToolStripMenuItem_Click(object sender, EventArgs e)
        {
            ShowAbout();
        }

        private void btnOK_Click(object sender, EventArgs e)
        {
            Exit();
        }

        private void btnCancel_Click(object sender, EventArgs e)
        {
            Exit();
        }

        void Exit()
        {
            this.Close();
        }
    }
}
